package com.qf.shop.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qf.shop.entity.Goods;
import com.qf.shop.entity.Information;
import com.qf.shop.entity.Orders;
import com.qf.shop.pojo.GetInformation;
import com.qf.shop.pojo.QueryInformation;
import com.qf.shop.pojo.QueryOrder;
import com.qf.shop.vo.GoodsId;
import com.qf.shop.vo.MaxTime;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface InformationMapper extends BaseMapper<Information> {
    List<Information> getAllInformation(QueryInformation queryInformation);

    void insertInformation(Information information);

    Information getInformation(@Param("id") Integer id);

    void changeInformation(Information information);

    void aChangeInformation(Information information);


    void insertInformation1(Information information);

    void againChangeInformation(List<Information> list);

    GoodsId getInformationId();

    MaxTime getMaxTime();

    List<Information> getUpdateInformation();

}
